Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded
authorAlexander Larsson <alexl@redhat.com>
Fri, 2 Jun 2006 15:16:13 +0000 (15:16 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Fri, 2 Jun 2006 15:16:13 +0000 (15:16 +0000)
commitfad69ba06c957dfe192d6a38613fae58cf157be9
treede7aca9f0f8f203d5a7ad2d93d35eba5964e1328
parentcaf6c4196d0843a5112ea5a1e43677b68738a7a5
Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded

2006-06-02  Alexander Larsson  <alexl@redhat.com>

* gtk/Makefile.am:
Add gtkprintoperationpreview.[ch]
Set default preview command. Hardcoded for now.

* gtk/gtkmarshalers.list:
Add BOOLEAN:OBJECT,OBJECT,OBJECT

* gtk/gtkprintbackend.c:
Add preview command property.

* gtk/gtkprintcontext.[ch]:
Make less dependent on PrintOperation for output settings
Externally set cairo_t and dpi. Resettable.
Create fontmap without metrics hinting (so that print preview
text layout doesn't depend on zoom level).

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.[ch]:
Initial work on print preview API and default implementation
using an external preview app.

* gtk/gtkprintoperation-win32.c:
Some needed updates. Not done, needs more work.

* gtk/gtkprintoperationpreview.[ch]:
New interface used in print preview api.

* gtk/gtkprintunixdialog.c:
Add print preview dialog.

* tests/print-editor.c:
Test using an custom print preview widget.
16 files changed:
ChangeLog
ChangeLog.pre-2-10
gtk/Makefile.am
gtk/gtkmarshalers.list
gtk/gtkprintbackend.c
gtk/gtkprintcontext.c
gtk/gtkprintcontext.h
gtk/gtkprintoperation-private.h
gtk/gtkprintoperation-unix.c
gtk/gtkprintoperation-win32.c
gtk/gtkprintoperation.c
gtk/gtkprintoperation.h
gtk/gtkprintoperationpreview.c [new file with mode: 0644]
gtk/gtkprintoperationpreview.h [new file with mode: 0644]
gtk/gtkprintunixdialog.c
tests/print-editor.c